package com.pojo;

import java.util.List;

import com.entity.Cart;
import com.entity.User;

public class DataSet {
	private List<Address> addresses;
	private User user;
	private List<Cart> carts;
	public DataSet(List<Address> addresses, User user, List<Cart> carts) {
		super();
		this.addresses = addresses;
		this.user = user;
		this.carts = carts;
	}
	public DataSet() {}
	@Override
	public String toString() {
		return "DataSet [addresses=" + addresses + ", user=" + user + ", carts=" + carts + "]";
	}
	public List<Address> getAddresses() {
		return addresses;
	}
	public void setAddresses(List<Address> addresses) {
		this.addresses = addresses;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public List<Cart> getCarts() {
		return carts;
	}
	public void setCarts(List<Cart> carts) {
		this.carts = carts;
	}
}
